<!--面包屑-->
<template>
  <el-breadcrumb separator-class="el-icon-arrow-right">
    <el-breadcrumb-item :to="{ path: '/' }">
      <span class="crumb-font">future电影</span>
    </el-breadcrumb-item>
    <el-breadcrumb-item :to="{name:'movieList'}">
      <span class="crumb-font">电影</span>
    </el-breadcrumb-item>
    <el-breadcrumb-item>
      <span class="crumb-font">{{ movieName }}</span>
    </el-breadcrumb-item>
  </el-breadcrumb>
</template>

<script>
export default {
  name: "MovieBreadcrumb",
  props: {
    movieName: {
      type: String,
      default: '送你一朵小红花'
    },
  },
}
</script>

<style scoped>
.crumb-font {
  font-size: 15px;
}
</style>